package com.apo1o.cmscore.dao;

import com.apo1o.cmscore.bean.User;
import com.apo1o.cmscore.bean.ext.UserExt;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Apo1o
 * @since 2023-11-15
 */
public interface UserDao extends BaseMapper<User> {
    IPage<UserExt> queryAllUserWithRole(IPage<UserExt> page,
                                        @Param("username") String username,
                                        @Param("status") String status,
                                        @Param("roleId") Integer roleId,
                                        @Param("isVip") Integer isVip);
}
